package JavaBase.Inheritance_HomeWork;

public class Car_Test {
    public static void main(String[] args) {
        Car aodi;
        Car benchi;
        aodi=new Aodi("奥迪",26,"A4");
        benchi=new Aodi("奔驰",32,"C200L");
        aodi.drive();
        aodi.variable_speed();
        benchi.drive();
        benchi.variable_speed();

    }
}
